﻿using System.Collections.Generic;
using System.Collections;

namespace ExpertMIS
{
    public class RockItem
    {
        public string Title;
        public string URL;
        public string Image;
    }

    public class RockItems : IEnumerable
    {
        private List<RockItem> _itemList = new List<RockItem>();

        public void AddItem(RockItem item)
        {
            _itemList.Add(item);
        }

        public void Clear()
        {
            _itemList.Clear();
        }

        #region IEnumerable Members

        public IEnumerator GetEnumerator()
        {
            return _itemList.GetEnumerator();
        }

        #endregion
    }
}